package com.example.s13redis_sssion.repository;

import com.example.s13redis_sssion.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @auther lazyfier
 * @date 2022/4/10 20:01
 */

public interface UserRepository extends JpaRepository<User,Long>
{
    public User findByUsernameAndPassword(String username,String password);
}
